package dfbz.com.utils;

import dfbz.com.constant.Constance;

public class PageUtil {

    public static long getTotalPage(long listTotalCount) {
        return listTotalCount % Constance.PAGE_ROW_COUNT == 0 ? listTotalCount / Constance.PAGE_ROW_COUNT : listTotalCount / Constance.PAGE_ROW_COUNT + 1;

    }


}
